package com.teamall.web.fpxm.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class CodeAidProjectByAidstaffArg {
    private String pk_name = "vid";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<CodeAidProjectByAidstaffCriteria> oredCriteria;

    public CodeAidProjectByAidstaffArg() {
        oredCriteria = new ArrayList<CodeAidProjectByAidstaffCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<CodeAidProjectByAidstaffCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(CodeAidProjectByAidstaffCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public CodeAidProjectByAidstaffCriteria or() {
    	CodeAidProjectByAidstaffCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public CodeAidProjectByAidstaffCriteria createCriteria() {
    	CodeAidProjectByAidstaffCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected CodeAidProjectByAidstaffCriteria createCriteriaInternal() {
    	CodeAidProjectByAidstaffCriteria criteria = new CodeAidProjectByAidstaffCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<CodeAidProjectByAidstaffCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<CodeAidProjectByAidstaffCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<CodeAidProjectByAidstaffCriterion> getAllCriteria() {
            return criteria;
        }

        public List<CodeAidProjectByAidstaffCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new CodeAidProjectByAidstaffCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeAidProjectByAidstaffCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeAidProjectByAidstaffCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new CodeAidProjectByAidstaffCriterion(condition, value1, value2));
        }

        public CodeAidProjectByAidstaffCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andVidIsNull() {
            addCriterion("vid is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidIsNotNull() {
            addCriterion("vid is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidEqualTo(String value) {
            addCriterion("vid =", value, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidNotEqualTo(String value) {
            addCriterion("vid <>", value, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidGreaterThan(String value) {
            addCriterion("vid >", value, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidGreaterThanOrEqualTo(String value) {
            addCriterion("vid >=", value, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidLessThan(String value) {
            addCriterion("vid <", value, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidLessThanOrEqualTo(String value) {
            addCriterion("vid <=", value, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidLike(String value) {
            addCriterion("vid like ", value, "vid", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidNotLike(String value) {
            addCriterion("vid  not like ", value, "vid", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidLeftLike(String value) {
            addCriterion("vid like ", value, "vid", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidNotLeftLike(String value) {
            addCriterion("vid  not like ", value, "vid", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidRightLike(String value) {
            addCriterion("vid like ", value, "vid", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidNotRightLike(String value) {
            addCriterion("vid  not like ", value, "vid", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidIn(List<String> values) {
            addCriterion("vid  in ", values, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidNotIn(List<String> values) {
            addCriterion("vid not in ", values, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidBetween(String value1, String value2) {
            addCriterion("vid between ", value1, value2, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andVidNotBetween(String value1, String value2) {
            addCriterion("vid not between ", value1, value2, "vid");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdEqualTo(Integer value) {
            addCriterion("project_id =", value, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("project_id <>", value, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdGreaterThan(Integer value) {
            addCriterion("project_id >", value, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_id >=", value, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdLessThan(Integer value) {
            addCriterion("project_id <", value, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("project_id <=", value, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdNotLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdLeftLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdNotLeftLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdRightLike(Integer value) {
            addCriterion("project_id like ", value, "project_id", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdNotRightLike(Integer value) {
            addCriterion("project_id  not like ", value, "project_id", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdIn(List<Integer> values) {
            addCriterion("project_id  in ", values, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("project_id not in ", values, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("project_id between ", value1, value2, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("project_id not between ", value1, value2, "project_id");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectCodeIsNull() {
            addCriterion("project_code is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeIsNotNull() {
            addCriterion("project_code is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeEqualTo(Integer value) {
            addCriterion("project_code =", value, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeNotEqualTo(Integer value) {
            addCriterion("project_code <>", value, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeGreaterThan(Integer value) {
            addCriterion("project_code >", value, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_code >=", value, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeLessThan(Integer value) {
            addCriterion("project_code <", value, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeLessThanOrEqualTo(Integer value) {
            addCriterion("project_code <=", value, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeNotLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeLeftLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeNotLeftLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeRightLike(Integer value) {
            addCriterion("project_code like ", value, "project_code", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeNotRightLike(Integer value) {
            addCriterion("project_code  not like ", value, "project_code", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeIn(List<Integer> values) {
            addCriterion("project_code  in ", values, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeNotIn(List<Integer> values) {
            addCriterion("project_code not in ", values, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeBetween(Integer value1, Integer value2) {
            addCriterion("project_code between ", value1, value2, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectCodeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_code not between ", value1, value2, "project_code");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameLike(String value) {
            addCriterion("project_name like ", value, "project_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameNotLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameLeftLike(String value) {
            addCriterion("project_name like ", value, "project_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameNotLeftLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameRightLike(String value) {
            addCriterion("project_name like ", value, "project_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameNotRightLike(String value) {
            addCriterion("project_name  not like ", value, "project_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameIn(List<String> values) {
            addCriterion("project_name  in ", values, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in ", values, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between ", value1, value2, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between ", value1, value2, "project_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectTypeIsNull() {
            addCriterion("project_type is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeIsNotNull() {
            addCriterion("project_type is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeEqualTo(Integer value) {
            addCriterion("project_type =", value, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNotEqualTo(Integer value) {
            addCriterion("project_type <>", value, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeGreaterThan(Integer value) {
            addCriterion("project_type >", value, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_type >=", value, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeLessThan(Integer value) {
            addCriterion("project_type <", value, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeLessThanOrEqualTo(Integer value) {
            addCriterion("project_type <=", value, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNotLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeLeftLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNotLeftLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeRightLike(Integer value) {
            addCriterion("project_type like ", value, "project_type", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNotRightLike(Integer value) {
            addCriterion("project_type  not like ", value, "project_type", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeIn(List<Integer> values) {
            addCriterion("project_type  in ", values, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNotIn(List<Integer> values) {
            addCriterion("project_type not in ", values, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeBetween(Integer value1, Integer value2) {
            addCriterion("project_type between ", value1, value2, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_type not between ", value1, value2, "project_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectTypeNameIsNull() {
            addCriterion("project_type_name is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameIsNotNull() {
            addCriterion("project_type_name is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameEqualTo(String value) {
            addCriterion("project_type_name =", value, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameNotEqualTo(String value) {
            addCriterion("project_type_name <>", value, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameGreaterThan(String value) {
            addCriterion("project_type_name >", value, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_type_name >=", value, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameLessThan(String value) {
            addCriterion("project_type_name <", value, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameLessThanOrEqualTo(String value) {
            addCriterion("project_type_name <=", value, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameNotLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameLeftLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameNotLeftLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameRightLike(String value) {
            addCriterion("project_type_name like ", value, "project_type_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameNotRightLike(String value) {
            addCriterion("project_type_name  not like ", value, "project_type_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameIn(List<String> values) {
            addCriterion("project_type_name  in ", values, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameNotIn(List<String> values) {
            addCriterion("project_type_name not in ", values, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameBetween(String value1, String value2) {
            addCriterion("project_type_name between ", value1, value2, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectTypeNameNotBetween(String value1, String value2) {
            addCriterion("project_type_name not between ", value1, value2, "project_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectSubTypeIsNull() {
            addCriterion("project_sub_type is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeIsNotNull() {
            addCriterion("project_sub_type is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeEqualTo(Integer value) {
            addCriterion("project_sub_type =", value, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNotEqualTo(Integer value) {
            addCriterion("project_sub_type <>", value, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeGreaterThan(Integer value) {
            addCriterion("project_sub_type >", value, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_sub_type >=", value, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeLessThan(Integer value) {
            addCriterion("project_sub_type <", value, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeLessThanOrEqualTo(Integer value) {
            addCriterion("project_sub_type <=", value, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNotLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeLeftLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNotLeftLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeRightLike(Integer value) {
            addCriterion("project_sub_type like ", value, "project_sub_type", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNotRightLike(Integer value) {
            addCriterion("project_sub_type  not like ", value, "project_sub_type", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeIn(List<Integer> values) {
            addCriterion("project_sub_type  in ", values, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNotIn(List<Integer> values) {
            addCriterion("project_sub_type not in ", values, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeBetween(Integer value1, Integer value2) {
            addCriterion("project_sub_type between ", value1, value2, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("project_sub_type not between ", value1, value2, "project_sub_type");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameIsNull() {
            addCriterion("project_sub_type_name is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameIsNotNull() {
            addCriterion("project_sub_type_name is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameEqualTo(String value) {
            addCriterion("project_sub_type_name =", value, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameNotEqualTo(String value) {
            addCriterion("project_sub_type_name <>", value, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameGreaterThan(String value) {
            addCriterion("project_sub_type_name >", value, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_sub_type_name >=", value, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameLessThan(String value) {
            addCriterion("project_sub_type_name <", value, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameLessThanOrEqualTo(String value) {
            addCriterion("project_sub_type_name <=", value, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameNotLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameLeftLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameNotLeftLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameRightLike(String value) {
            addCriterion("project_sub_type_name like ", value, "project_sub_type_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameNotRightLike(String value) {
            addCriterion("project_sub_type_name  not like ", value, "project_sub_type_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameIn(List<String> values) {
            addCriterion("project_sub_type_name  in ", values, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameNotIn(List<String> values) {
            addCriterion("project_sub_type_name not in ", values, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameBetween(String value1, String value2) {
            addCriterion("project_sub_type_name between ", value1, value2, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectSubTypeNameNotBetween(String value1, String value2) {
            addCriterion("project_sub_type_name not between ", value1, value2, "project_sub_type_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andStateIsNull() {
            addCriterion("state is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateLike(Integer value) {
            addCriterion("state like ", value, "state", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNotLike(Integer value) {
            addCriterion("state  not like ", value, "state", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateLeftLike(Integer value) {
            addCriterion("state like ", value, "state", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNotLeftLike(Integer value) {
            addCriterion("state  not like ", value, "state", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateRightLike(Integer value) {
            addCriterion("state like ", value, "state", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNotRightLike(Integer value) {
            addCriterion("state  not like ", value, "state", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateIn(List<Integer> values) {
            addCriterion("state  in ", values, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in ", values, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between ", value1, value2, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between ", value1, value2, "state");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andStateNameIsNull() {
            addCriterion("state_name is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameIsNotNull() {
            addCriterion("state_name is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameEqualTo(String value) {
            addCriterion("state_name =", value, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameNotEqualTo(String value) {
            addCriterion("state_name <>", value, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameGreaterThan(String value) {
            addCriterion("state_name >", value, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameGreaterThanOrEqualTo(String value) {
            addCriterion("state_name >=", value, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameLessThan(String value) {
            addCriterion("state_name <", value, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameLessThanOrEqualTo(String value) {
            addCriterion("state_name <=", value, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameLike(String value) {
            addCriterion("state_name like ", value, "state_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameNotLike(String value) {
            addCriterion("state_name  not like ", value, "state_name", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameLeftLike(String value) {
            addCriterion("state_name like ", value, "state_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameNotLeftLike(String value) {
            addCriterion("state_name  not like ", value, "state_name", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameRightLike(String value) {
            addCriterion("state_name like ", value, "state_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameNotRightLike(String value) {
            addCriterion("state_name  not like ", value, "state_name", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameIn(List<String> values) {
            addCriterion("state_name  in ", values, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameNotIn(List<String> values) {
            addCriterion("state_name not in ", values, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameBetween(String value1, String value2) {
            addCriterion("state_name between ", value1, value2, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andStateNameNotBetween(String value1, String value2) {
            addCriterion("state_name not between ", value1, value2, "state_name");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andBeginDateIsNull() {
            addCriterion("begin_date is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateIsNotNull() {
            addCriterion("begin_date is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateEqualTo(Date value) {
            addCriterion("begin_date =", value, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateNotEqualTo(Date value) {
            addCriterion("begin_date <>", value, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateGreaterThan(Date value) {
            addCriterion("begin_date >", value, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_date >=", value, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateLessThan(Date value) {
            addCriterion("begin_date <", value, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("begin_date <=", value, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateLike(Date value) {
            addCriterion("begin_date like ", value, "begin_date", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateNotLike(Date value) {
            addCriterion("begin_date  not like ", value, "begin_date", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateLeftLike(Date value) {
            addCriterion("begin_date like ", value, "begin_date", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateNotLeftLike(Date value) {
            addCriterion("begin_date  not like ", value, "begin_date", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateRightLike(Date value) {
            addCriterion("begin_date like ", value, "begin_date", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateNotRightLike(Date value) {
            addCriterion("begin_date  not like ", value, "begin_date", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateIn(List<Date> values) {
            addCriterion("begin_date  in ", values, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateNotIn(List<Date> values) {
            addCriterion("begin_date not in ", values, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateBetween(Date value1, Date value2) {
            addCriterion("begin_date between ", value1, value2, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("begin_date not between ", value1, value2, "begin_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andEndDateIsNull() {
            addCriterion("end_date is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateIsNotNull() {
            addCriterion("end_date is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateEqualTo(Date value) {
            addCriterion("end_date =", value, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateNotEqualTo(Date value) {
            addCriterion("end_date <>", value, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateGreaterThan(Date value) {
            addCriterion("end_date >", value, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("end_date >=", value, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateLessThan(Date value) {
            addCriterion("end_date <", value, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterion("end_date <=", value, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateLike(Date value) {
            addCriterion("end_date like ", value, "end_date", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateNotLike(Date value) {
            addCriterion("end_date  not like ", value, "end_date", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateLeftLike(Date value) {
            addCriterion("end_date like ", value, "end_date", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateNotLeftLike(Date value) {
            addCriterion("end_date  not like ", value, "end_date", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateRightLike(Date value) {
            addCriterion("end_date like ", value, "end_date", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateNotRightLike(Date value) {
            addCriterion("end_date  not like ", value, "end_date", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateIn(List<Date> values) {
            addCriterion("end_date  in ", values, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateNotIn(List<Date> values) {
            addCriterion("end_date not in ", values, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateBetween(Date value1, Date value2) {
            addCriterion("end_date between ", value1, value2, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterion("end_date not between ", value1, value2, "end_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andTotalInvestIsNull() {
            addCriterion("total_invest is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestIsNotNull() {
            addCriterion("total_invest is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestEqualTo(BigDecimal value) {
            addCriterion("total_invest =", value, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestNotEqualTo(BigDecimal value) {
            addCriterion("total_invest <>", value, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestGreaterThan(BigDecimal value) {
            addCriterion("total_invest >", value, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_invest >=", value, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestLessThan(BigDecimal value) {
            addCriterion("total_invest <", value, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_invest <=", value, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestLike(BigDecimal value) {
            addCriterion("total_invest like ", value, "total_invest", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestNotLike(BigDecimal value) {
            addCriterion("total_invest  not like ", value, "total_invest", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestLeftLike(BigDecimal value) {
            addCriterion("total_invest like ", value, "total_invest", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestNotLeftLike(BigDecimal value) {
            addCriterion("total_invest  not like ", value, "total_invest", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestRightLike(BigDecimal value) {
            addCriterion("total_invest like ", value, "total_invest", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestNotRightLike(BigDecimal value) {
            addCriterion("total_invest  not like ", value, "total_invest", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestIn(List<BigDecimal> values) {
            addCriterion("total_invest  in ", values, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestNotIn(List<BigDecimal> values) {
            addCriterion("total_invest not in ", values, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_invest between ", value1, value2, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andTotalInvestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_invest not between ", value1, value2, "total_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andPlanInvestIsNull() {
            addCriterion("plan_invest is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestIsNotNull() {
            addCriterion("plan_invest is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestEqualTo(BigDecimal value) {
            addCriterion("plan_invest =", value, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestNotEqualTo(BigDecimal value) {
            addCriterion("plan_invest <>", value, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestGreaterThan(BigDecimal value) {
            addCriterion("plan_invest >", value, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("plan_invest >=", value, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestLessThan(BigDecimal value) {
            addCriterion("plan_invest <", value, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("plan_invest <=", value, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestLike(BigDecimal value) {
            addCriterion("plan_invest like ", value, "plan_invest", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestNotLike(BigDecimal value) {
            addCriterion("plan_invest  not like ", value, "plan_invest", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestLeftLike(BigDecimal value) {
            addCriterion("plan_invest like ", value, "plan_invest", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestNotLeftLike(BigDecimal value) {
            addCriterion("plan_invest  not like ", value, "plan_invest", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestRightLike(BigDecimal value) {
            addCriterion("plan_invest like ", value, "plan_invest", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestNotRightLike(BigDecimal value) {
            addCriterion("plan_invest  not like ", value, "plan_invest", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestIn(List<BigDecimal> values) {
            addCriterion("plan_invest  in ", values, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestNotIn(List<BigDecimal> values) {
            addCriterion("plan_invest not in ", values, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("plan_invest between ", value1, value2, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanInvestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("plan_invest not between ", value1, value2, "plan_invest");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectDescIsNull() {
            addCriterion("PROJECT_DESC is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescIsNotNull() {
            addCriterion("PROJECT_DESC is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescEqualTo(String value) {
            addCriterion("PROJECT_DESC =", value, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescNotEqualTo(String value) {
            addCriterion("PROJECT_DESC <>", value, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescGreaterThan(String value) {
            addCriterion("PROJECT_DESC >", value, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_DESC >=", value, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescLessThan(String value) {
            addCriterion("PROJECT_DESC <", value, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_DESC <=", value, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescNotLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescLeftLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescNotLeftLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescRightLike(String value) {
            addCriterion("PROJECT_DESC like ", value, "PROJECT_DESC", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescNotRightLike(String value) {
            addCriterion("PROJECT_DESC  not like ", value, "PROJECT_DESC", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescIn(List<String> values) {
            addCriterion("PROJECT_DESC  in ", values, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescNotIn(List<String> values) {
            addCriterion("PROJECT_DESC not in ", values, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescBetween(String value1, String value2) {
            addCriterion("PROJECT_DESC between ", value1, value2, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectDescNotBetween(String value1, String value2) {
            addCriterion("PROJECT_DESC not between ", value1, value2, "PROJECT_DESC");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andCityLeaderIsNull() {
            addCriterion("city_leader is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderIsNotNull() {
            addCriterion("city_leader is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderEqualTo(String value) {
            addCriterion("city_leader =", value, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderNotEqualTo(String value) {
            addCriterion("city_leader <>", value, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderGreaterThan(String value) {
            addCriterion("city_leader >", value, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("city_leader >=", value, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderLessThan(String value) {
            addCriterion("city_leader <", value, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderLessThanOrEqualTo(String value) {
            addCriterion("city_leader <=", value, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderLike(String value) {
            addCriterion("city_leader like ", value, "city_leader", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderNotLike(String value) {
            addCriterion("city_leader  not like ", value, "city_leader", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderLeftLike(String value) {
            addCriterion("city_leader like ", value, "city_leader", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderNotLeftLike(String value) {
            addCriterion("city_leader  not like ", value, "city_leader", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderRightLike(String value) {
            addCriterion("city_leader like ", value, "city_leader", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderNotRightLike(String value) {
            addCriterion("city_leader  not like ", value, "city_leader", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderIn(List<String> values) {
            addCriterion("city_leader  in ", values, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderNotIn(List<String> values) {
            addCriterion("city_leader not in ", values, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderBetween(String value1, String value2) {
            addCriterion("city_leader between ", value1, value2, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andCityLeaderNotBetween(String value1, String value2) {
            addCriterion("city_leader not between ", value1, value2, "city_leader");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andRespDepartmentIsNull() {
            addCriterion("resp_department is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentIsNotNull() {
            addCriterion("resp_department is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentEqualTo(String value) {
            addCriterion("resp_department =", value, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentNotEqualTo(String value) {
            addCriterion("resp_department <>", value, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentGreaterThan(String value) {
            addCriterion("resp_department >", value, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("resp_department >=", value, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentLessThan(String value) {
            addCriterion("resp_department <", value, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentLessThanOrEqualTo(String value) {
            addCriterion("resp_department <=", value, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentLike(String value) {
            addCriterion("resp_department like ", value, "resp_department", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentNotLike(String value) {
            addCriterion("resp_department  not like ", value, "resp_department", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentLeftLike(String value) {
            addCriterion("resp_department like ", value, "resp_department", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentNotLeftLike(String value) {
            addCriterion("resp_department  not like ", value, "resp_department", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentRightLike(String value) {
            addCriterion("resp_department like ", value, "resp_department", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentNotRightLike(String value) {
            addCriterion("resp_department  not like ", value, "resp_department", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentIn(List<String> values) {
            addCriterion("resp_department  in ", values, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentNotIn(List<String> values) {
            addCriterion("resp_department not in ", values, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentBetween(String value1, String value2) {
            addCriterion("resp_department between ", value1, value2, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespDepartmentNotBetween(String value1, String value2) {
            addCriterion("resp_department not between ", value1, value2, "resp_department");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andPovertyStaffIsNull() {
            addCriterion("poverty_staff is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffIsNotNull() {
            addCriterion("poverty_staff is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffEqualTo(String value) {
            addCriterion("poverty_staff =", value, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffNotEqualTo(String value) {
            addCriterion("poverty_staff <>", value, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffGreaterThan(String value) {
            addCriterion("poverty_staff >", value, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffGreaterThanOrEqualTo(String value) {
            addCriterion("poverty_staff >=", value, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffLessThan(String value) {
            addCriterion("poverty_staff <", value, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffLessThanOrEqualTo(String value) {
            addCriterion("poverty_staff <=", value, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffLike(String value) {
            addCriterion("poverty_staff like ", value, "poverty_staff", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffNotLike(String value) {
            addCriterion("poverty_staff  not like ", value, "poverty_staff", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffLeftLike(String value) {
            addCriterion("poverty_staff like ", value, "poverty_staff", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffNotLeftLike(String value) {
            addCriterion("poverty_staff  not like ", value, "poverty_staff", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffRightLike(String value) {
            addCriterion("poverty_staff like ", value, "poverty_staff", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffNotRightLike(String value) {
            addCriterion("poverty_staff  not like ", value, "poverty_staff", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffIn(List<String> values) {
            addCriterion("poverty_staff  in ", values, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffNotIn(List<String> values) {
            addCriterion("poverty_staff not in ", values, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffBetween(String value1, String value2) {
            addCriterion("poverty_staff between ", value1, value2, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPovertyStaffNotBetween(String value1, String value2) {
            addCriterion("poverty_staff not between ", value1, value2, "poverty_staff");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andPlanDateIsNull() {
            addCriterion("plan_date is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateIsNotNull() {
            addCriterion("plan_date is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateEqualTo(Date value) {
            addCriterion("plan_date =", value, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateNotEqualTo(Date value) {
            addCriterion("plan_date <>", value, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateGreaterThan(Date value) {
            addCriterion("plan_date >", value, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateGreaterThanOrEqualTo(Date value) {
            addCriterion("plan_date >=", value, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateLessThan(Date value) {
            addCriterion("plan_date <", value, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateLessThanOrEqualTo(Date value) {
            addCriterion("plan_date <=", value, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateLike(Date value) {
            addCriterion("plan_date like ", value, "plan_date", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateNotLike(Date value) {
            addCriterion("plan_date  not like ", value, "plan_date", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateLeftLike(Date value) {
            addCriterion("plan_date like ", value, "plan_date", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateNotLeftLike(Date value) {
            addCriterion("plan_date  not like ", value, "plan_date", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateRightLike(Date value) {
            addCriterion("plan_date like ", value, "plan_date", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateNotRightLike(Date value) {
            addCriterion("plan_date  not like ", value, "plan_date", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateIn(List<Date> values) {
            addCriterion("plan_date  in ", values, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateNotIn(List<Date> values) {
            addCriterion("plan_date not in ", values, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateBetween(Date value1, Date value2) {
            addCriterion("plan_date between ", value1, value2, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andPlanDateNotBetween(Date value1, Date value2) {
            addCriterion("plan_date not between ", value1, value2, "plan_date");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andRespStaffIsNull() {
            addCriterion("RESP_STAFF is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffIsNotNull() {
            addCriterion("RESP_STAFF is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffEqualTo(String value) {
            addCriterion("RESP_STAFF =", value, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffNotEqualTo(String value) {
            addCriterion("RESP_STAFF <>", value, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffGreaterThan(String value) {
            addCriterion("RESP_STAFF >", value, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffGreaterThanOrEqualTo(String value) {
            addCriterion("RESP_STAFF >=", value, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffLessThan(String value) {
            addCriterion("RESP_STAFF <", value, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffLessThanOrEqualTo(String value) {
            addCriterion("RESP_STAFF <=", value, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffNotLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffLeftLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffNotLeftLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffRightLike(String value) {
            addCriterion("RESP_STAFF like ", value, "RESP_STAFF", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffNotRightLike(String value) {
            addCriterion("RESP_STAFF  not like ", value, "RESP_STAFF", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffIn(List<String> values) {
            addCriterion("RESP_STAFF  in ", values, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffNotIn(List<String> values) {
            addCriterion("RESP_STAFF not in ", values, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffBetween(String value1, String value2) {
            addCriterion("RESP_STAFF between ", value1, value2, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andRespStaffNotBetween(String value1, String value2) {
            addCriterion("RESP_STAFF not between ", value1, value2, "RESP_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andAidMainStaffIsNull() {
            addCriterion("AID_MAIN_STAFF is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffIsNotNull() {
            addCriterion("AID_MAIN_STAFF is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF =", value, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffNotEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF <>", value, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffGreaterThan(Integer value) {
            addCriterion("AID_MAIN_STAFF >", value, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffGreaterThanOrEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF >=", value, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffLessThan(Integer value) {
            addCriterion("AID_MAIN_STAFF <", value, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffLessThanOrEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF <=", value, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffNotLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffLeftLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffNotLeftLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffRightLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffNotRightLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffIn(List<Integer> values) {
            addCriterion("AID_MAIN_STAFF  in ", values, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffNotIn(List<Integer> values) {
            addCriterion("AID_MAIN_STAFF not in ", values, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffBetween(Integer value1, Integer value2) {
            addCriterion("AID_MAIN_STAFF between ", value1, value2, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andAidMainStaffNotBetween(Integer value1, Integer value2) {
            addCriterion("AID_MAIN_STAFF not between ", value1, value2, "AID_MAIN_STAFF");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameIsNull() {
            addCriterion("SAID_MAIN_STAFF_NAME is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameIsNotNull() {
            addCriterion("SAID_MAIN_STAFF_NAME is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameEqualTo(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME =", value, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameNotEqualTo(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME <>", value, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameGreaterThan(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME >", value, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameGreaterThanOrEqualTo(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME >=", value, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameLessThan(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME <", value, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameLessThanOrEqualTo(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME <=", value, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameLike(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME like ", value, "SAID_MAIN_STAFF_NAME", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameNotLike(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME  not like ", value, "SAID_MAIN_STAFF_NAME", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameLeftLike(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME like ", value, "SAID_MAIN_STAFF_NAME", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameNotLeftLike(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME  not like ", value, "SAID_MAIN_STAFF_NAME", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameRightLike(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME like ", value, "SAID_MAIN_STAFF_NAME", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameNotRightLike(String value) {
            addCriterion("SAID_MAIN_STAFF_NAME  not like ", value, "SAID_MAIN_STAFF_NAME", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameIn(List<String> values) {
            addCriterion("SAID_MAIN_STAFF_NAME  in ", values, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameNotIn(List<String> values) {
            addCriterion("SAID_MAIN_STAFF_NAME not in ", values, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameBetween(String value1, String value2) {
            addCriterion("SAID_MAIN_STAFF_NAME between ", value1, value2, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andSaidMainStaffNameNotBetween(String value1, String value2) {
            addCriterion("SAID_MAIN_STAFF_NAME not between ", value1, value2, "SAID_MAIN_STAFF_NAME");
            return (CodeAidProjectByAidstaffCriteria) this;
        }
        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntIsNull() {
            addCriterion("project_family_cnt is null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntIsNotNull() {
            addCriterion("project_family_cnt is not null");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntEqualTo(Long value) {
            addCriterion("project_family_cnt =", value, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntNotEqualTo(Long value) {
            addCriterion("project_family_cnt <>", value, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntGreaterThan(Long value) {
            addCriterion("project_family_cnt >", value, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntGreaterThanOrEqualTo(Long value) {
            addCriterion("project_family_cnt >=", value, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntLessThan(Long value) {
            addCriterion("project_family_cnt <", value, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntLessThanOrEqualTo(Long value) {
            addCriterion("project_family_cnt <=", value, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntLike(Long value) {
            addCriterion("project_family_cnt like ", value, "project_family_cnt", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntNotLike(Long value) {
            addCriterion("project_family_cnt  not like ", value, "project_family_cnt", 1);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntLeftLike(Long value) {
            addCriterion("project_family_cnt like ", value, "project_family_cnt", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntNotLeftLike(Long value) {
            addCriterion("project_family_cnt  not like ", value, "project_family_cnt", 0);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntRightLike(Long value) {
            addCriterion("project_family_cnt like ", value, "project_family_cnt", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntNotRightLike(Long value) {
            addCriterion("project_family_cnt  not like ", value, "project_family_cnt", 2);
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntIn(List<Long> values) {
            addCriterion("project_family_cnt  in ", values, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntNotIn(List<Long> values) {
            addCriterion("project_family_cnt not in ", values, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntBetween(Long value1, Long value2) {
            addCriterion("project_family_cnt between ", value1, value2, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

        public CodeAidProjectByAidstaffCriteria andProjectFamilyCntNotBetween(Long value1, Long value2) {
            addCriterion("project_family_cnt not between ", value1, value2, "project_family_cnt");
            return (CodeAidProjectByAidstaffCriteria) this;
        }

    }

    public static class CodeAidProjectByAidstaffCriteria extends GeneratedCriteria {

        protected CodeAidProjectByAidstaffCriteria() {
            super();
        }
    }

    public static class CodeAidProjectByAidstaffCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected CodeAidProjectByAidstaffCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected CodeAidProjectByAidstaffCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected CodeAidProjectByAidstaffCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected CodeAidProjectByAidstaffCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected CodeAidProjectByAidstaffCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected CodeAidProjectByAidstaffCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}